{% extends 'layout/base.html' %}
{% block title %} 文章管理 {% endblock %}
{% block main %}
<h1 class="h1">文章管理</h1>
<div class="row">
    {% include 'user/layout/left_sidebar.html' %}
    <div class="col-md-9">
        <div class="container-fluid">
            <ul class="list-group">
                <li class="list-group-item">
                    <!-- <span class="badge">14</span> -->
                    <b>草稿：</b>
                </li>

                {% for item in posts %}
                <li class="list-group-item">
                    <a href="{{ url_for('user.article_manager_page', aid=item.id) }}"><b>标题: </b> {{ item.title }}
                    </a>
                    {{item.created_time}}
                </li>
                {% endfor %}
            </ul>
            <hr>
        </div>
    </div>
</div>
{% endblock %}